<?php
 function insert_link_to_description() {
   global $config; 
?>
<link rel="search" type="application/opensearchdescription+xml" title="<?php echo $config['name'] ?>" href="<?php echo baseURL() ?>extend/opensearch/opensearch-description.php" />
<?php
  }
  add_hook('html_head','insert_link_to_description()');
?>